#ifndef DATAFILE_H
#define DATAFILE_H

#include <QObject>
#include <QtCore/QFile>
#include <QVector>
#include "bookmarkitem.h"

class DataFile : public QObject
{
	Q_OBJECT
public:
	explicit DataFile(QObject *parent = 0);
	QVector<BookmarkItem*> *read(QString fileName);
private:
	QString toNormalText(QString badText);
	QVector<BookmarkItem*> *m_vector;
};

#endif // DATAFILE_H
